package com.zjc.mymq.nameserver.event.model;

import com.zjc.mymq.common.event.model.Event;
import com.zjc.mymq.nameserver.store.ServiceInstance;

/**
 * @author zjc
 * @date Created in 16:56 2024/7/18
 *  复制消息
 */
public class ReplicationMsgEvent extends Event {

    private Integer type;

    private ServiceInstance serviceInstance;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public ServiceInstance getServiceInstance() {
        return serviceInstance;
    }

    public void setServiceInstance(ServiceInstance serviceInstance) {
        this.serviceInstance = serviceInstance;
    }
}
